package com.ojoin.trade.supplyloan_core.web.service;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.service.BaseService;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlLoanInfo;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlLoanInfoLog;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 15-12-25
 * Time: 下午3:35
 * To change this template use File | Settings | File Templates.
 */
public interface TbSLLoanInfoLogService extends BaseService<TbSlLoanInfoLog> {
    /**新增贷款统计表数据
      * @param logvo
     * @throws BusinessException
     */
    public void insertTbSlLoanInfo(TbSlLoanInfoLog logvo)throws BusinessException;

    /**根据九盈用户查询用户的贷款统计表记录
     *  * @param idOfTbMerchantUser
     * @param page
     * @return
     * @throws BusinessException
     */
    public List<TbSlLoanInfoLog> queryTbSlLoanInfoLogByJoinid(int idOfTbMerchantUser, Pageable page) throws BusinessException;
}
